Method and apparatus for calibration to reduce coupling between signals in a measurement system

ABSTRACT

A method and an apparatus for separating a composite signal into a plurality of signals is described. A signal processor receives a composite signal and separates a composite signal into separate output signals. Feedback from one or more of the output signals is provided to a configuration module that configures the signal processor to improve a quality of the output signals. In one embodiment, calibration data from multiple calibration data sets is used to configure the demodulation of the composite signal into separate output signals.

INCORPORATION BY REFERENCE TO ANY PRIORITY APPLICATIONS

Any and all applications for which a foreign or domestic priority claim is identified in the Application Data Sheet as filed with the present application are hereby incorporated by reference under 37 CFR 1.57.

The present application is a continuation of U.S. application Ser. No. 15/834,965, filed Dec. 7, 2017, titled METHOD AND APPARATUS FOR CALIBRATION TO REDUCE COUPLING BETWEEN SIGNALS IN A MEASUREMENT SYSTEM, which a continuation of U.S. application Ser. No. 14/836,635, filed Aug. 26, 2015, titled “METHOD AND APPARATUS FOR CALIBRATION TO REDUCE COUPLING BETWEEN SIGNALS IN A MEASUREMENT SYSTEM,” now U.S. Pat. No. 9,861,305, which is a continuation of U.S. application Ser. No. 13/526,376, filed Jun. 18, 2012, titled “METHOD AND APPARATUS FOR CALIBRATION TO REDUCE COUPLING BETWEEN SIGNALS IN A MEASUREMENT SYSTEM,” which is a continuation of U.S. patent application Ser. No. 11/871,636, filed Oct. 12, 2007, titled “METHOD AND APPARATUS FOR CALIBRATION TO REDUCE COUPLING BETWEEN SIGNALS IN A MEASUREMENT SYSTEM”, which claims priority benefit of U.S. Provisional Application No. 60/851,112, filed Oct. 12, 2006, titled “METHOD AND APPARATUS FOR CALIBRATION TO REDUCE COUPLING BETWEEN SIGNALS IN A MEASUREMENT SYSTEM”, the entire contents of which is hereby incorporated by reference.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to the field of signal processing, and more particularly, relates to multi-channel demodulators for demodulating mixed signals, such as, for example, signals generated in a pulse oximetry system.

Description of the Related Art

In many multi-channel measurement and communication systems, crosstalk between channels and corruption of data within the channels are significant problems. Such problems can arise from variations in manufacturing tolerances, movement, propagation delays, phase shifts, temperature effects, degradation of components due to age or other factors, noise, etc.

A pulse oximetry system is one example of a system where the above-referenced problems are found. In a pulse oximetry system, blood oxygen saturation is determined by transmitting pulses of electromagnetic energy through a portion of a subject having blood flowing therein (e.g., through a finger, through an ear lobe, or other portion of the body where blood flows close to the skin). The pulses of electromagnetic energy comprise periodic pulses of red light having wavelengths of approximately 660 nanometers, for example, and periodic pulses of infrared light having wavelengths of approximately 905 nanometers.

After propagating through the portion of the subject, the red pulses and the infrared pulses are detected by a detector which is responsive to light at both wavelengths and which generates an electrical signal that has a relationship to the intensity of the electromagnetic energy incident on the detector. The detector output is a two-channel signal having a first signal component corresponding to the detected red pulses and a second signal component corresponding to the detected infrared pulses.

The two-channel signal is demodulated to recover separate signals corresponding to the first signal component and the second signal component. However, prior art demodulators are not sufficiently accurate enough to completely separate the two signal components in all cases. Thus, it is not uncommon for the first demodulator output signal (corresponding to the first signal component) to contain residual components of the second signal and vice versa. This crosstalk between the first and second signal components reduces the accuracy of the recovered first and second signals. In multi-channel systems with more than two channels, crosstalk can occur between all of the channels, again reducing accuracy.

SUMMARY OF THE INVENTION

The present invention solves these and other problems by separating a combined multi-channel signal into a plurality of output signals in a manner that reduces crosstalk and other contamination in the plurality of output signals. In one embodiment, the separator includes a multi-channel demodulator that is first configured using nominal values for the various components in the signal path. In one embodiment, the multi-channel demodulator is further configured using data obtained from calibration measurements. In one embodiment, the calibration measurements are made during an initialization period. In one embodiment, the calibration measurements are made frequently, continuously, or at selected intervals. In one embodiment, calibrations are performed on at least one of, initialization, on command, on attachment of a new sensor, continuously, and/or interspersed with measurements. In one embodiment of a system for measuring one or more blood constituents, the calibration measurements are made when the system detects that a patient has been connected to the system. In one embodiment, the multi-channel demodulator is further configured at regular intervals by re-running the calibration measurements. In one embodiment, the multi-channel demodulator comprises an optimizing demodulator. In one embodiment, crosstalk in the multi-channel demodulator is reduced by computing an amplitude and/or phase adjustment of one or more demodulation signals that are provided respectively to one or more mixers.

In one embodiment, an apparatus for measuring blood oxygenation in a subject includes a first signal source which applies a first input signal during a first time interval. A second signal source applies a second input signal during a second time interval. A detector detects a first parametric signal responsive to the first input signal passing through a portion of the subject having blood therein and detects a second parametric signal responsive to the second input signal passing through the portion of the subject. The detector generates a detector output signal responsive to the first and second parametric signals. A signal processor receives the detector output signal and demodulates the detector output signal by applying a first demodulation signal to a signal responsive to the detector output signal to generate a first demodulator output signal and applying a second demodulation signal to the signal responsive to the detector output signal to generate a second demodulator output signal. In one embodiment, the first demodulation signal has at least one component comprising a first frequency, a first phase, and a first amplitude; and the second demodulation signal has at least one component comprising a second frequency, a second phase, and a second amplitude. In one embodiment, the first phase and the second phase are chosen to reduce crosstalk from the first parametric signal to the second demodulator output signal and to reduce crosstalk from the second parametric signal to the first demodulator output signal. In one embodiment, the first amplitude and the second amplitude are chosen to reduce crosstalk from the first parametric signal to the second demodulator output signal and to reduce crosstalk from the second parametric signal to the first demodulator output signal. In one embodiment, at least one of the first amplitude, the first phase, the second amplitude, and the second phase are chosen to reduce crosstalk from the first parametric signal to the second demodulator output signal and to reduce crosstalk from the second parametric signal to the first demodulator output signal.

In one embodiment, at least one of the first amplitude, the first phase, the second amplitude, and the second phase is determined by turning off one of the first and second signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signal.

One embodiment includes a method of reducing crosstalk between two signals generated by applying a first pulse and a second pulse to measure a parameter. The first pulse and the second pulse are applied periodically at a repetition rate defining a period. The first pulse is generated during a first interval in each period and the second pulse is generated during a second interval in each period. In one embodiment, the second interval is spaced apart from the first interval. In one embodiment, the second interval overlaps at least a portion of the first interval. The first and second pulses produce first and second parametric signals responsive to the parameter. The first and second parametric signals are received by a detector which outputs a composite signal responsive to the first and second parametric signals. The method includes applying a first demodulation signal to the composite signal to generate a first demodulated output signal. The first demodulation signal includes at least one component having at least a first amplitude and a first phase. The method further includes applying a second demodulation signal to the composite signal to generate a second demodulated output signal. The second demodulation signal includes at least one component having at least a second amplitude and a second phase. The method further includes lowpass filtering the first demodulated output signal to generate a first recovered output signal responsive to the first parametric signal, and lowpass filtering the second demodulated output signal to generate a second recovered output signal responsive to the second parametric signal. The method also includes choosing at least one of the first phase, the first amplitude, the second phase, and the second amplitude to reduce crosstalk components in the first recovered output signal and the second recovered output signal. In one embodiment, the method also includes choosing the first phase and/or the second phase to reduce crosstalk components in the first recovered output signal and the second recovered output signal.

In one embodiment, the first phase and the second phase are chosen by applying a first light pulse pattern (activation pattern) during a first time period and measuring the first recovered output during the first time period as a first calibration output, and measuring the second recovered output during the first time period as a second calibration output. The method includes applying a second light pulse activation pattern during a second time period and measuring the first recovered output during the first time period as a third calibration output and measuring the second recovered output during the second time period as a fourth calibration output. The method further includes computing the first phase and the second phase from at least the first calibration output, the second calibration output, the third calibration output, and the fourth calibration output.

In one embodiment, the first phase is computed from a ratio of the first calibration output and the second calibration output.

In one embodiment, the first demodulation signal includes a sum of a first demodulation component having a first amplitude and a second demodulation component having a second amplitude. The second demodulation component is in quadrature with the first demodulation component and the act of choosing the first phase involves choosing the first amplitude and the second amplitude. In one embodiment, the quadrature components are sinusoidal and cosinusoidal.

In one embodiment, the first demodulation signal includes a sum of a sinusoidal component having a first amplitude and a cosinusoidal component having a second amplitude. The first amplitude and the second amplitude are chosen by a least squares minimization of an error corresponding to the crosstalk. In one embodiment, the error is integrated over a time period corresponding to an integer number of cycles of the sinusoidal component.

In one embodiment, a first demodulation signal is applied to a composite signal having first and second coefficients to generate a first demodulated signal. The first demodulation signal includes a first component having a first amplitude and a second component having a second amplitude. The first and second components being in quadrature. The second amplitude has a predetermined relationship to the first amplitude. The predetermined relationship is selected to cause the first demodulated signal to have lower frequency components that include a primary component corresponding primarily to the first desired component and a residual component corresponding to the second component. The first demodulated signal is lowpass filtered to generate a first output signal. At least one of the first amplitude and the second amplitude are adjusted to reduce the residual component with respect to the primary component.

In one embodiment, a pulse oximetry system includes a modulation signal generator. The modulation signal generator generates a first modulation signal including a first pulse at a repetition frequency having a first duty cycle. The modulation signal generator generates a second modulation signal including a second pulse which also repeats at the repetition frequency and having a second duty cycle. The second pulse can be non-overlapping with respect to the first pulse, or the second pulse can partially or completely overlap the first pulse. The first and second pulses include a plurality of components wherein a first component has a frequency corresponding to the repetition frequency and a second component has a second frequency corresponding to twice the first frequency. A first transmitter emits electromagnetic energy at a first wavelength in response to the first pulse. A second transmitter emits electromagnetic energy at a second wavelength in response to the second pulse. A detector receives electromagnetic energy at the first and second wavelengths after passing through a portion of a subject. The detector generates a detector output signal responsive to the received electromagnetic energy. The detector output signal includes a signal component responsive to attenuation of the electromagnetic energy at the first wavelength and a signal component responsive to attenuation of the electromagnetic energy at the second wavelength. A first demodulator multiplies the detector signal by a first demodulation signal and generates a first demodulated output signal. A second demodulator multiplies the detector signal by a second demodulation signal and generates a second demodulated output signal. A configuration module configures the first demodulation signal and the second demodulation signal to substantially separate the first demodulator output and the second demodulator output.

In one embodiment, the configuration module selects a phase relationship between the first demodulation signal and the second demodulation signal.

In one embodiment, the configuration module configures the first demodulation signal and the second demodulation signal using, at least in part, data obtained during a calibration period. In one embodiment, the calibration data includes first and second calibration data corresponding to the first and second demodulated output signals during a first time period, and third and fourth calibration data corresponding to the first and second demodulated output signals during a second time period. In one embodiment, the second transmitter is turned off during the first time period, and the first transmitter is turned off during the second time period.

In one embodiment, the configuration module configures the first demodulation signal and the second demodulation signal by adjusting initial parameters that define the first demodulation signal and the second demodulation signal. The configuration module adjusts the initial parameters using, at least in part, the calibration data obtained during a calibration period.

One embodiment includes an apparatus for measuring one or more blood constituents in a subject, wherein a first signal source applies a first input signal during a first time interval, a second signal source applies a second input signal during a second time interval, and a third signal source applies a second input signal during a third time interval. A detector detects a first parametric signal responsive to the first input signal passing through a portion of the subject having blood therein, a second parametric signal responsive to the second input signal passing through the portion of the subject, and a third parametric signal responsive to the third input signal passing through a portion of the subject having blood therein. The detector generates a detector output signal responsive to the first, second, and third parametric signals. A signal processor receives the detector output signal, the signal processor configured to demodulate the detector output signal by applying a first demodulation signal to a signal responsive to the detector output signal to generate a first demodulator output signal, applying a second demodulation signal to the signal responsive to the detector output signal to generate a second demodulator output signal, and applying a third demodulation signal to the signal responsive to the detector output signal to generate a third demodulator output signal. The signal processor selects the first demodulation signal, the second demodulation signal and the third demodulation signal to reduce crosstalk between the first, second, and third demodulator signals using, at least in part, first and second calibration data. The first calibration data includes calibration data wherein the first signal source, the second signal source, and the third signal source are operated singly, and wherein the second calibration data comprises calibration data wherein the first signal source, the second signal source, and the third signal source are operated in pairs.

One embodiment includes an apparatus for measuring one or more parameters in a subject. The apparatus includes, three or more sources, at least one detector configured to sense electromagnetic radiation produced by the three or more sources, an output of the at least one detector comprising a detector signal, and a signal processor. The signal processor receives the detector output signal, the signal processor configured to demodulate the detector output signal by applying a first demodulation signal to a signal responsive to the detector output signal to generate a first demodulator output signal, applying a second demodulation signal to the signal responsive to the detector output signal to generate a second demodulator output signal, and applying a third demodulation signal to the signal responsive to the detector output signal to generate a third demodulator output signal. The signal processor selects the first demodulation signal, the second demodulation signal and the third demodulation signal to reduce crosstalk between the first, second, and third demodulator signals using, at least in part, calibration data, wherein the calibration data is obtained, at least in part, by activating the three or more sources according to a set of activation patterns, wherein the number of activation patterns is greater than the number of sources in the three or more sources. In one embodiment, the activation patterns include a first set of patterns wherein each of the three or more sources is activated singly, and a second set of patterns wherein each of the three or more sources is deactivated singly. In one embodiment, the activation patterns include patterns wherein each of the three or more sources is activated one at a time. In one embodiment, the activation patterns include patterns wherein each of the three or more sources is de-activated one at a time. In one embodiment the activation patterns include patterns where more than half of the sources are activated and the remaining sources are not activated. In one embodiment the activation patterns include patterns where, at any time, more than half of the sources are not activated and the remaining sources are activated.

One embodiment includes an apparatus for measuring one or more blood constituents in a subject, where the apparatus includes a first signal source which applies a first input signal during a first time interval, a second signal source which applies a second input signal during a second time interval, a third signal source which applies a third input signal during a third time interval, a detector, and a signal processor, The detector detects a first parametric signal responsive to the first input signal passing through a portion of the subject having blood therein and detects a second parametric signal responsive to the second input signal passing through the portion of the subject, and a third parametric signal responsive to the third input signal. The detector generates a detector output signal responsive to the first, second, and third parametric signals. The signal processor which receives the detector output signal, the signal processor demodulating the detector output signal by applying a first demodulation signal to a signal responsive to the detector output signal to generate a first demodulator output signal and applying a second demodulation signal to the signal responsive to the detector output signal to generate a second demodulator output signal, the first demodulation signal determined at least in part from a first dataset wherein each of the first, second, and third sources are activated one at a time and a second dataset wherein each of the first, second, and third sources are deactivated one at a time. In one embodiment, the first dataset includes turning on only one of the first, second, or third signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signals. In one embodiment, at least a portion of the first dataset includes turning off only one of the first, second, or third signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signals.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be described below in connection with the accompanying figures.

FIG. 1 is a block diagram of a multi-channel processing system that uses feedback from one or more outputs to configure the operation of a signal separator that separates a composite signal into a plurality of output signals.

FIG. 2 is a block diagram of a two-channel signal processing system to determine blood oxygen saturation in a subject, wherein illumination is provided by back-to-back Light-Emitting Diodes (LEDs).

FIG. 3 is a block diagram of a multi-channel signal processing system to determine blood constituents (e.g., oxygen saturation) in a subject, wherein illumination is provided by N diodes or illumination sources.

FIG. 4 is a block diagram of a specific embodiment of the multi-channel processing system of FIG. 1.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

FIG. 1 shows a topology of a multi-channel measurement or communication system 100. The system 100 has a signal combiner 103 for combining one or more input signals S₁ . . . S_(N) into a composite signal and a signal separator 104 for separating the composite signal into one or more output signals Ŝ₁ . . . Ŝ_(M) The output signals Ŝ₁ . . . Ŝ_(M) can include estimates of the input signals S₁ . . . S_(N). The input signals S₁ . . . S_(N) are corrupted by pre-combination distortion 101-102 respectively, and optionally, by combination distortion in the signal combiner 103. The combiner 103 combines the N input signals into a composite signal (or composite signals). The combiner 103 can combine signals by addition, subtraction, multiplication, division, modulation, non-linear processes, linear processes, estimation, combinations thereof, etc. The composite signal is provided through a communication channel to the separator 104. The composite signal is distorted by communication channel distortion 110. The separator 104 separates the composite signal into M output signals, where M can be less than N, greater than N, or equal to N. In one embodiment, the separator also provides one or more additional output signals {circumflex over (n)}₀ . . . {circumflex over (n)}_(K) corresponding to estimates of other signals, such as, for example, noise signals, error signals, etc.

Due to errors in the system 100, the output signals Ŝ₁ . . . Ŝ_(M) are typically not exact copies of the input signals, but rather are estimates of the input signals. The accuracy of these estimates is a measure of system performance. The pre-combination distortion 101-102, the combiner distortion, and/or the channel distortion 110 tend to introduce crosstalk between the channels and thereby corrupt the output signals. The pre-combination distortion 101-102, combiner distortion, and the channel distortion 110 can be caused by variations in manufacturing tolerances, delay, movement, temperature effects, degradation of components due to age or other factors, noise, etc.

A module 105 is provided to configure the separator 104 to improve the quality of the separation function and thereby improve the quality of the output signals. One or more of the output signals from the separator are provided to the module 105 to provide feedback regarding the quality of the output signals and/or feedback regarding the operation of the separator 104. The module 105 uses feedback from one or more of the output signals Ŝ₁ . . . Ŝ_(M) (and, optionally, the output signals {circumflex over (n)}₀ . . . {circumflex over (n)}_(K)) to monitor the quality of the separation function and to provide control information to control the operation of the separator. In one embodiment, the module 105 is configured by using configuration data obtained from the combiner 103. Such configuration data can be obtained by calibration procedures that test the operation of the combiner 103 before or during system use.

In one embodiment, the module 105 configures demodulators in the signal separator 104 using, at least in part, calibration data obtained during a calibration period. For example, in one embodiment involving a two channel system, the calibration data includes first and second calibration data corresponding to the first and second output signals during a first time period, and third and fourth calibration data corresponding to the first and second demodulated output signals during a second time period. In one embodiment, the second transmitter is turned off during the first time period, and the first transmitter is turned off during the second time period. In one embodiment, the module 105 configures the first demodulation signal and the second demodulation signal by adjusting initial parameters that define the first demodulation signal and the second demodulation signal. The configuration module adjusts the initial parameters using, at least in part, the calibration data obtained during a calibration period.

FIG. 2 is a block diagram of a two-channel signal processing system 200 that fits the general topology shown in FIG. 1. The system 200 is configured to determine one or more blood constituents in a subject, such as, for example, a human subject. In the example presented, the measurements are performed on a portion of the subject, such as a finger 202. An LED modulation circuit 204 drives a pair of back-to-back light emitting diodes (LEDs) 206, 208 by applying a periodic signal to the two light emitting diodes 206, 208. Light from the diodes 206, 208 passes through the finger 202 and is detected by a detector 250. An output from the detector 250 is provided to a signal processing block 270. A control output from the signal processing block 270 is provided to the LED modulation circuit 204. The signal processing block 270 also provides outputs Ŝ₁ and Ŝ_(Z) corresponding to the light detected from the diodes 206, 208, and, optionally, output signals {circumflex over (n)}₀ . . . {circumflex over (n)}_(K) corresponding to estimates of noise or other signals.

In one embodiment, the LED 206 is selected to emit electromagnetic energy in the red visible light range, and has a wavelength of, for example, approximately 660 nanometers. The LED 208 is selected to emit electromagnetic energy in the infrared range, and has a wavelength of, for example, approximately 905 nanometers. The LED modulation circuit 204 supplies current to activate the LEDs 206 and 208. Each LED is activated for a time period τ which can be different for the different LEDs. The pulses from the LEDs 206 and 208 repeat with a periodicity T.

FIG. 3 is a block diagram of a multi-channel signal processing system 300 that also fits the topology shown in FIG. 1. Like the system 200, the system 300 is configured to determine blood oxygen saturation or other blood constituents in a subject, such as, for example, a human subject. In FIG. 3, an LED modulation circuit 314 drives N diodes, where N is two or greater, thus allowing greater flexibility than the system 200. In FIG. 3, the diodes 206 and 208 are shown, along with an N'th diode 309, it being understood that the diode 309 is omitted if N=2. The LED modulation circuit 314 is configured to allow the diodes 206, 208, and 309 to be driven independently such that the diodes can be driven at separate times or in overlapping time periods if desired. Light from the diodes 206, 208, 309 passes through the finger 202 and is detected by the detector 250. The output from the detector 250 is provided to a signal processing block 371. A control output from the signal processing block 371 is provided to the LED modulation circuit 314. The signal processing block 371 also provides outputs S₁ through S_(M), where M is greater than or equal to one, but need not be equal to N.

FIG. 4 shows one embodiment of an adjustable multi-channel modulator/demodulator system 400. The system 400 is based on the topology of the system 100 and can be used in a system for measuring blood constituents (e.g., pulse oximetry, carboxyhemoglobin, etc.) as shown in FIGS. 2 and 3. In the system 400, an input S₁(t) and a modulation input M₁(t) are provided to a first modulator 491. A signal input S_(N)(t) and a modulation input M_(N)(t) are provided to an N^(th) modulator 402.

The photodetector 250 is modeled as an adder 405. The outputs of the modulators 491 and 402 are added together in the adder 405, in the presence of noise n(t) to generate a composite signal M(t) where:

S(t)=S ₁(t)M ₁(t)+ . . . +S _(N)(t)M _(N)(t)+n(t)  (1)

The S(t) signal output of the adder 405 (i.e., the output of the detector 250) is applied to the input of a signal-processing block 410. Within the signal-processing block 410, the signal S(t) is passed through an amplifier 497 and through an analog bandpass filter 498. The analog bandpass filter 498 provides anti-aliasing and removal of low frequency noise and DC. The desired signal components in the signals S₁(t) are frequency shifted by the operation of the modulation signals M(t) and are passed by the analog bandpass filter 498.

The output of the analog bandpass filter 498 is sampled by an analog-to-digital converter 499 and converted therein to digital signals and provided to an input of an optional decimation block 420.

The filtered (and, optionally, decimated) signal S(t) is sampled to produce a sampled-data signal S(k) that is provided to the first input of the first mixer 424, to the first input of the N'th mixer 412, and to the first input of a noise channel mixer 413. A first demodulating signal D₁(k) is provided to a second input of a first mixer 424 from a signal generator 431. The N^(th) demodulating signal D_(N)(k) is provided to an N^(th) mixer 412 from an output of a signal generator 432. The noise demodulating signal D₀(k) is provided to the noise channel mixer 413 from an output of a signal generator 441. A control input to each of the signal generators 431, 432, and 441 is provided by the output of the adjuster algorithm 450. In yet another embodiment, the adjuster algorithm 450 may also be controlled by other signal processing elements downstream of the signal processor 400.

The outputs of the mixers 413, 424, and 412 are provided as respective inputs to decimation blocks 440, 430, and 434 respectively. Each of the decimation blocks 440, 430, and 434 has a control input provided by the output of the adjuster algorithm block 450. The output of the decimation block 440 is an estimate of the signal n(t) and it is provided to an input of the adjuster algorithm block 450. In an alternate embodiment, the signal estimates Ŝ₁(k) are also provided to the adjuster algorithm block 450.

An output of the decimator 430 is a signal Ŝ₁(k), which, as discussed above, is an estimate of the signal S₁(k) (where S₁(k) corresponds to a sampled-data representation of S₁(t)). Likewise, the output of the decimation block 434 is an estimate of the signal S_(N)(t). As shown above, the selection of the demodulating signals D_(i)(t) for i=0 . . . N in accordance with the present invention substantially reduces or eliminates the effects of noise in the output signals Ŝ_(i)(k) and n(k), and also substantially reduces or eliminates crosstalk between the signals.

When the system 400 is used in connection with a blood constituent measurement system as shown in FIGS. 2 and 3, the red LED 206 provides a light intensity represented as I_(RD), and the infrared LED 208 provides a light intensity represented as I_(IR). The effects of turning the LEDs 206, 208 on and off on a periodic bases are modeled by the first multiplier or modulator 290 which applies a first modulation signal M₁(t) to the red light intensity to generate a modulated red signal I_(RDMOD)(t) and by a second multiplier the modulator 292 which applies a second modulation signal M₂(t) to the infrared light intensity to generate a modulated infrared signal I_(IRMOD)(t). The modulated light red signal and the modulated infrared signal are applied to the finger 202, or other body portion, as described above. The blood in the finger 202 has a volume and scattering components, which vary throughout each cardiac cycle. The blood carries oxygen and other materials therein. The oxygen content is a function of both the blood volume and the concentration of the oxygen in the blood volume. The concentration of the oxygen in the blood volume is generally measured as blood oxygen saturation for reasons which are described in full in U.S. Pat. Nos. 5,482,036 and 5,490,505, both of which are hereby incorporated by reference in their entirety. As further described in the two referenced patents, the blood oxygen saturation is determined by comparing the relative absorption of the red light and the infrared light in the finger 202. The comparison is complicated by the noise caused by movement, ambient light, light scattering, and other factors. The signals S₁(t) and S₂(t) represent the effect of the time-varying volume and scattering components of the blood in the finger 202 on the red light and the infrared light, respectively, passing through the finger 202 from the LEDs 206, 208 to the detector 250.

As shown in FIG. 4, a set of N+1 signals S_(i)[k] i=1 . . . N, and n(k) are sampled at a desired sample rate. The signals are combined according to the formula:

S(k)=M ₁(k)S ₁(k)+ . . . +M _(N)(k)S _(N)(k)+n(k)  (2)

In one embodiment, each of the decimators 420, 440, 430, and 434 includes a digital lowpass filter and a sample rate compressor. In one embodiment, the characteristics of the digital lowpass filters (e.g., the number of filter coefficients and values of the filter coefficients) and the sample rate compression factor of each decimator are fixed. In one embodiment, the characteristics of the digital lowpass filters (e.g., the number of filter coefficients or values of the filter coefficients) and the sample rate compression factor of each decimator are provided by the adjustment algorithm 450. The signal generators 431, 432 and 441 generate the demodulation sequences for the demodulators 424, 412, and 413 respectively. The demodulation sequences produced by the signal generators 431, 432 and 441 are controlled by the adjuster algorithm 450.

In one embodiment, the adjuster algorithm 450 adjusts the pre-demodulation decimation rate R₁ (in the demodulator 420), and the post-demodulation decimation rate R₂ (in the demodulators 430, 434 and 440) according to the noise in the noise estimate {circumflex over (n)}(k) and (optionally) according to the signals Ŝ_(i)(k). The product R₁R₂ is the total decimation rate from the signal S(k) at the output of the A/D converter 499 to the signals Ŝ_(i)(k) at the output of the signal processing block 400. The adjuster algorithm may adjust R₁ and R₂ such that the product R₁R₂ varies, or the adjuster algorithm may adjust R₁ and R₂ such that the product R₁R₂ is substantially constant. Typically, the adjuster algorithm will keep the R₁R₂ product constant so that the signal processing blocks downstream of the signal processor 400 will operate at a substantially constant sample rate.

In one embodiment, the adjuster algorithm 450 adjusts the demodulation signals D_(i)(k) to reduce or eliminate crosstalk. In one embodiment, the adjuster algorithm 450 reduces crosstalk by configuring the demodulators, as discussed in more detail below.

One skilled in the art will recognize that the lowpass filters provided in connection with the decimation blocks can provide other filter functions in addition to lowpass filtering. Thus, for example, the lowpass filters 420, 430, 440, and 450, and the decimators 420, 430, 434, and 440 can provide other filter functions (in addition to lowpass filtering) such as, for example, bandpass filtering, bandstop filtering, etc. Moreover, the post-demodulation decimation rate R₂ need not be the same for each output channel. Thus, for example, in FIG. 4, the decimator 440 can have a first decimation rate R₂=r₁ while the decimators 430 and 434 have a second decimation rate R₂=r₂.

The demodulators above are described in terms of digital signal processing on sampled data. Thus, the demodulator signals are written D_(i)(k). The demodulators and the filtering associated with the demodulators can be done in using analog processing (using time-domain demodulator signals D_(i)(t)) or on sampled data signals (using digital-domain demodulator signals D_(i)(k)). For convenience, the following development describes the demodulator signals primarily in the time domain, with the understanding that the modulators can be implemented using digital signal processing or analog processing.

The characteristics of the demodulation signals D₁(t) and D₂(t) affect how much crosstalk is seen in the output signals. In an diagonal system, that is, when the demodulator has been diagonalized, there is, ideally, no crosstalk. The first output signal Ŝ₁(t) is an estimate (or approximation) to the signal S₁(t). Similarly, the second output signal Ŝ₂ (t) is an estimate (or approximation) to the signal S₂(t). When the composite signal S(t) is a linear combination of the signals S_(i)(t), then the relationship between the signals S₁(t) and the signals Ŝ_(i)(t). When M₁=cos ωt, M₂=sin ωt, n(t)=0, and there is no distortion (e.g., no pre-combination, combiner, or channel distortion) then:

$\begin{matrix} {\mspace{76mu} {{S(t)} = {{{S_{1}(t)}\cos \mspace{11mu} \omega \; t} + {{S_{2}(t)}\sin \mspace{11mu} \omega \; t}}}} & (3) \\ {\mspace{76mu} {{Then}:}} & \; \\ {\mspace{76mu} {{{\hat{S}}_{1}(t)} = {{LP}\left\lbrack {{D_{1}(t)}{S(t)}} \right\rbrack}}} & (4) \\ {\mspace{76mu} {{{\hat{S}}_{2}(t)} = {{LP}\left\lbrack {{D_{2}(t)}{S(t)}} \right\rbrack}}} & (5) \\ {\mspace{76mu} {{If}:}} & \; \\ {\mspace{76mu} {{D_{1}(t)} = {2\mspace{11mu} \cos \mspace{11mu} \omega \; t}}} & (6) \\ {\mspace{76mu} {{D_{2}(t)} = {2\mspace{11mu} \sin \mspace{11mu} \omega \; t}}} & (7) \\ {\mspace{79mu} {then}} & \; \\ {{{D_{1}(t)}{S(t)}} = {{{2S_{1}\cos^{2}\omega \; t} + {2{S_{2}(t)}\sin \mspace{11mu} \omega \; t\mspace{11mu} \cos \mspace{11mu} \omega \; t}} = {{S_{1}(t)} - {{S_{1}(t)}\cos \mspace{11mu} 2\omega \; t} + {{S_{2}(t)}\sin \mspace{11mu} 2\omega \; t}}}} & (8) \end{matrix}$

-   -   After lowpass filtering to remove the terms with a frequency of         2 ωt and higher

$\begin{matrix} {\mspace{79mu} {{{\overset{\hat{}}{S}}_{1}(t)} = {S_{1}(t)}}} & (9) \\ {\mspace{79mu} {{Similarly}\mspace{14mu} {for}}} & \; \\ {\mspace{79mu} {{{\overset{\hat{}}{S}}_{2}(t)} = {L{P\left\lbrack {{D_{2}(t)}{S(t)}} \right\rbrack}}}} & (10) \\ {\mspace{79mu} {then}} & \; \\ {{{D_{2}(t)}{S(t)}} = {{{2{S_{1}(t)}\sin \mspace{11mu} \omega \; t\mspace{11mu} \cos \mspace{11mu} \omega \; t} + {2{S_{2}(t)}\sin^{2}\omega \; t}} = {{S_{2}(t)} - {{S_{2}(t)}\cos \mspace{11mu} 2\omega \; t} + {{S_{1}(t)}\sin \mspace{11mu} 2\omega \; t}}}} & (11) \end{matrix}$

-   -   After lowpass filtering to remove the terms with a frequency of         2 ωt

Ŝ ₂(t)=S ₂(t)  (12)

In the above analysis, it was assumed that there are no time delays or phase shifts in the signal S(t), and thus, configuration is relatively straightforward.

When an unknown delay (or phase error) is introduced, then the signals are no longer diagonal. Consider, for example, the situation when a delay Δ is introduced into the composite signal. Then:

S(t)=cos ω(t−Δ)S ₁(t−Δ)+sin ω(t−Δ)S ₂(t−Δ)

It then follows that:

$\begin{matrix} {{{\overset{\hat{}}{S}}_{1}(t)} = {L{P\left\lbrack {2\mspace{11mu} \cos \mspace{11mu} \omega \; {t\left( {{\cos \mspace{11mu} {\omega \left( {t - \Delta} \right)}{S_{1}\left( {t - \Delta} \right)}} + {\sin \mspace{11mu} {\omega \left( {t - \Delta} \right)}{S_{2}\left( {t - \Delta} \right)}}} \right)}} \right\rbrack}}} \\ {= \begin{matrix} {L{P\left\lbrack {2\mspace{11mu} \cos \mspace{11mu} \omega \; {t\left( {{\cos \mspace{11mu} \omega \; t\mspace{11mu} \cos \; {\omega\Delta}} + {\sin \mspace{11mu} \omega \; t\mspace{11mu} \sin \mspace{14mu} {\omega\Delta}}} \right)}{S_{1}\left( {t - \Delta} \right)}} \right\rbrack}} \\ {{+ L}{P\left\lbrack {2\mspace{11mu} \cos \mspace{11mu} \omega \; {t\left( {{\sin \mspace{11mu} \omega \; t\mspace{11mu} \cos \; {\omega\Delta}} - {\cos \mspace{11mu} \omega \; t\mspace{11mu} \sin \; {\omega\Delta}}} \right)}{S_{2}\left( {t - \Delta} \right)}} \right\rbrack}} \end{matrix}} \\ {= {{\cos \mspace{11mu} {\omega\Delta}\; {S_{1}\left( {t - \Delta} \right)}} - {\sin \mspace{11mu} {{\omega\Delta S}_{2}\left( {t - \Delta} \right)}}}} \end{matrix}$

-   -   The above equations can be expressed in matrix form as:

$\begin{matrix} {\begin{bmatrix} {{\overset{\hat{}}{S}}_{1}(t)} \\ {{\overset{\hat{}}{S}}_{2}(t)} \end{bmatrix} = {\begin{bmatrix} {\cos \mspace{11mu} {\omega\Delta}} & {{- \sin}\mspace{11mu} {\omega\Delta}} \\ {\sin \mspace{11mu} {\omega\Delta}} & {\cos \mspace{11mu} {\omega\Delta}} \end{bmatrix}\begin{bmatrix} {S_{1}\left( {t - \Delta} \right)} \\ {S_{2}\left( {t - \Delta} \right)} \end{bmatrix}}} & (13) \\ {Then} & \; \\ {\begin{bmatrix} {S_{1}\left( {t - \Delta} \right)} \\ {S_{2}\left( {t - \Delta} \right)} \end{bmatrix} = {\begin{bmatrix} {\cos \mspace{11mu} {\omega\Delta}} & {\sin \mspace{11mu} {\omega\Delta}} \\ {{- \sin}\mspace{11mu} {\omega\Delta}} & {\cos \mspace{11mu} {\omega\Delta}} \end{bmatrix}\begin{bmatrix} {{\overset{\hat{}}{S}}_{1}(t)} \\ {{\overset{\hat{}}{S}}_{2}(t)} \end{bmatrix}}} & (14) \end{matrix}$

-   -   The above equation can be expressed as

$\begin{matrix} {\mspace{79mu} {\begin{matrix} {\begin{bmatrix} {S_{1}\left( {t - \Delta} \right)} \\ {S_{2}\left( {t - \Delta} \right)} \end{bmatrix} = {\begin{bmatrix} {\cos \mspace{11mu} {\omega\Delta}} & {\sin \mspace{11mu} {\omega\Delta}} \\ {{- \sin}\mspace{11mu} {\omega\Delta}} & {\cos \mspace{11mu} {\omega\Delta}} \end{bmatrix} \cdot {{LP}\begin{bmatrix} {{D_{1}(t)}{S(t)}} \\ {{D_{2}(t)}{S(t)}} \end{bmatrix}}}} \\ {= {{LP}\left\lbrack {{\begin{bmatrix} {\cos \mspace{11mu} {\omega\Delta}} & {\sin \mspace{11mu} {\omega\Delta}} \\ {{- \sin}\mspace{11mu} {\omega\Delta}} & {\cos \mspace{11mu} {\omega\Delta}} \end{bmatrix}\begin{bmatrix} {D_{1}(t)} \\ {D_{2}(t)} \end{bmatrix}}{S(t)}} \right\rbrack}} \\ {= {{LP}\left\lbrack {\begin{bmatrix} {{\overset{\_}{D}}_{1}(t)} \\ {{\overset{\_}{D}}_{2}(t)} \end{bmatrix}{S(t)}} \right\rbrack}} \end{matrix}\mspace{20mu} {where}{{{\overset{¯}{D}}_{1}(t)} = {{{\cos \mspace{11mu} {\omega\Delta}\; {D_{1}(t)}} + {\sin \mspace{11mu} {\omega\Delta}\; {D_{2}(t)}}} = {{2\mspace{11mu} \cos \mspace{11mu} {\omega\Delta}\mspace{11mu} \cos \mspace{11mu} \omega \; t} + {2\mspace{11mu} \sin \mspace{11mu} {\omega\Delta}\mspace{11mu} \sin \mspace{11mu} \omega \; t}}}}}} & (15) \end{matrix}$

and similarly for D ₂(t). Thus the modified demodulation functions D ₁(t) and D ₂(t) can be expressed as a linear combination of basis functions. If the time delay Δ can be predicted, then the demodulator functions can be calculated and programmed into the communication system. However, in many cases the time delay Δ is not known or changes over time. As described below, the demodulator functions can be determined by system calibration procedures.

When an unknown phase shift (or phase error) is introduced, then there may be crosstalk in the system. Consider, for example, the situation when a phase error ϕ₁ occurs in the signal S₁(t) and a phase error ϕ₂ occurs in the signal S₂(t). The phase errors can be caused by intrinsic properties of the components, intrinsic properties of the system, component variations, time delays, etc. In the presence of the phase errors:

$\begin{matrix} \begin{matrix} {{{D_{1}(t)}{S(t)}} = {{2A_{1}{S_{1}(t)}{\sin \left( {{\omega \; t} + \varphi_{1}} \right)}\sin \mspace{11mu} \omega \; t} + {2A_{2}{S_{2}(t)}{\cos \left( {{\omega \; t} + \varphi_{2}} \right)}\sin \mspace{11mu} \omega \; t}}} \\ {= \begin{matrix} {{2A_{1}{S_{1}(t)}\sin \omega {t\left\lbrack {{\sin \mspace{11mu} \omega \; t\mspace{11mu} \cos \; \varphi_{1}} + {\cos \mspace{11mu} \omega \; t\mspace{11mu} \sin \; \varphi_{1}}} \right\rbrack}} +} \\ {2A_{2}{S_{2}(t)}\sin \mspace{11mu} \omega \; {t\left\lbrack {{\cos \mspace{11mu} \omega \; t\mspace{11mu} \cos \; \varphi_{2}} + {\sin \mspace{11mu} \omega \; t\mspace{11mu} \sin \; \varphi_{2}}} \right\rbrack}} \end{matrix}} \\ {= \begin{matrix} {{A_{1}{S_{1}(t)}\cos \mspace{11mu} \varphi_{1}} - {A_{1}{S_{1}(t)}\cos \mspace{11mu} \varphi_{1}\cos \mspace{11mu} 2\omega \; t} +} \\ {{A_{1}{S_{1}(t)}\sin \mspace{11mu} \varphi_{1}\mspace{11mu} \sin \mspace{11mu} 2\; \omega \; t} + {A_{2}{S_{2}(t)}\cos \mspace{11mu} \varphi_{2}\mspace{11mu} \sin \mspace{11mu} 2\omega \; t} -} \\ {{A_{2}{S_{2}(t)}\sin \mspace{11mu} \varphi_{2}} + {A_{2}{S_{2}(t)}\sin \mspace{11mu} \varphi_{2}\mspace{11mu} \cos \mspace{11mu} 2\omega \; t}} \end{matrix}} \end{matrix} & (16) \end{matrix}$

-   -   Thus, after lowpass filtering

Ŝ ₁(t)=A ₁ S ₁(t)cos ϕ₁ −A ₂ S ₂(t)sin ϕ₂  (17)

-   -   The above equation shows crosstalk because S₁ (t) depends in         part on components of S₂(t) when A₂≠0 and ϕ₂≠nπ where n=0, ±1,         ±2 . . . .     -   Similarly,

Ŝ ₂(t)=A ₁ S ₁(t)sin ϕ₁ +A ₂ S ₂(t)cos ϕ₂  (18)

-   -   The above equations can be expressed in matrix form as:

$\begin{matrix} {\begin{bmatrix} {{\overset{\hat{}}{S}}_{1}(t)} \\ {{\overset{\hat{}}{S}}_{2}(t)} \end{bmatrix} = {\begin{bmatrix} {A_{1}\mspace{11mu} \cos \mspace{11mu} \varphi_{1}} & {{- A_{2}}\mspace{11mu} \sin \mspace{11mu} \varphi_{2}} \\ {A_{1}\mspace{11mu} \sin \mspace{11mu} \varphi_{1}} & {A_{2}\mspace{11mu} \cos \mspace{11mu} \varphi_{2}} \end{bmatrix}\begin{bmatrix} {S_{1}(t)} \\ {S_{2}(t)} \end{bmatrix}}} & (19) \end{matrix}$

-   -   After inversion

$\begin{matrix} {\begin{bmatrix} {S_{1}(t)} \\ {S_{2}(t)} \end{bmatrix} = {{\frac{1}{\cos \left( {\varphi_{1} - \varphi_{2}} \right)}\begin{bmatrix} \frac{\cos \mspace{11mu} \varphi_{2}}{A_{1}} & \frac{\sin \mspace{11mu} \varphi_{1}}{A_{1}} \\ {- \frac{\sin \mspace{11mu} \varphi_{2}}{A_{2}}} & \frac{\cos \mspace{11mu} \varphi_{1}}{A_{2}} \end{bmatrix}}\begin{bmatrix} {{\overset{\hat{}}{S}}_{1}(t)} \\ {{\overset{\hat{}}{S}}_{2}(t)} \end{bmatrix}}} & (20) \\ {\begin{bmatrix} {S_{1}(t)} \\ {S_{2}(t)} \end{bmatrix} = {{{\frac{1}{\cos \left( {\varphi_{1} - \varphi_{2}} \right)}\begin{bmatrix} \frac{\cos \mspace{11mu} \varphi_{2}}{A_{1}} & \frac{\sin \mspace{11mu} \varphi_{1}}{A_{1}} \\ {- \frac{\sin \mspace{11mu} \varphi_{2}}{A_{2}}} & \frac{\cos \mspace{11mu} \varphi_{1}}{A_{2}} \end{bmatrix}}\begin{bmatrix} {D_{1}(t)} \\ {D_{2}(t)} \end{bmatrix}}{S(t)}}} & (21) \\ {Then} & \; \\ {\begin{bmatrix} {S_{1}(t)} \\ {S_{2}(t)} \end{bmatrix} = {\begin{bmatrix} {{\overset{¯}{D}}_{1}(t)} \\ {{\overset{¯}{D}}_{2}(t)} \end{bmatrix}\ {S(t)}}} & (22) \end{matrix}$

-   -   Where D _(i)(t) are modified demodulation functions, given by:

$\begin{matrix} {\begin{bmatrix} {\overset{¯}{D_{1}}(t)} \\ {{\overset{¯}{D}}_{2}(t)} \end{bmatrix} = {\frac{1}{\cos \left( {\varphi_{1} - \varphi_{2}} \right)}\begin{bmatrix} \frac{{\cos \mspace{11mu} \varphi_{2}\mspace{11mu} \sin \mspace{11mu} \omega \; t} + {\sin \mspace{11mu} \varphi_{1}\cos \mspace{11mu} \omega \; t}}{A_{1}} \\ \frac{{{- \sin}\mspace{11mu} \varphi_{2}\mspace{11mu} \sin \mspace{11mu} \omega \; t} + {\cos \mspace{11mu} \varphi_{1}\cos \mspace{11mu} \omega \; t}}{A_{2}} \end{bmatrix}}} & (23) \end{matrix}$

-   -   The modified demodulation functions have the form

$\begin{matrix} {{\overset{¯}{D_{l}}(t)} = {\sum\limits_{j = 1}^{N}{\alpha_{j}{\Phi_{j}(t)}}}} & (24) \end{matrix}$

Choosing the coefficients α_(j) to eliminate crosstalk configures the modulator.

In one embodiment, the coefficients α_(j) can be fixed coefficients computed using known properties of the system. However, as system properties change over time, such fixed coefficients may lead to unacceptably high levels of crosstalk. Moreover, variations from device to device may cause the fixed coefficients to give unacceptably high levels of crosstalk.

Higher performance (that is, lower crosstalk) can be obtained by computing the coefficients as part of a system calibration or initialization procedure. Such calibration can be performed during system startup (e.g., when the system is turned on, or when the system begins processing data, etc.) and/or at regular intervals. In one embodiment, the adjuster algorithm 450 computes the coefficients α_(j) from the calibration data. In one embodiment, the coefficients α_(j) are chosen by making four calibration-type measurements to measure four parameters ξ₁₁, ξ₁₂, ξ₂₁, and ξ₂₂ where:

ξ₁₁ =Ŝ ₁|_(S) ₁ _(=A,S) ₂ ₌₀ =Aa ₁ cos ϕ₁  (25)

ξ₁₂ =Ŝ ₁|_(S) ₁ _(=0,S) ₂ _(=B) =−Ba ₂ sin ϕ₂  (26)

ξ₂₁ =Ŝ ₂|_(S) ₁ _(=A,S) ₂ ₌₀ =Aa ₁ sin ϕ₁  (27)

ξ₂₂ =Ŝ ₂|_(S) ₁ _(=0,S) ₂ _(=B) =Ba ₂ cos ϕ₂  (28)

where A and B are amplitudes. Then

$\begin{matrix} {a_{1} = \frac{\sqrt{\xi_{11}^{2} + \xi_{21}^{2}}}{A}} & (29) \\ {a_{2} = \frac{\sqrt{\xi_{12}^{2} + \xi_{22}^{2}}}{B}} & (30) \\ {{\tan \; \varphi_{1}} = \frac{\xi_{21}}{\xi_{11}}} & (31) \\ {{\tan \; \varphi_{2}} = {- \frac{\xi_{12}}{\xi_{22}}}} & (32) \end{matrix}$

From the above equations, it is evident that crosstalk depends only on ϕ₁ and ϕ₂. Moreover, ϕ₁ and ϕ₂ can be chosen to eliminate crosstalk without knowing A or B. This is useful for systems such as pulse oximetry systems where absolute measurements of a channel are difficult or impractical, but where relative measurements (e.g., channel-to-channel measurements) are practical.

The demodulation signals D_(i)(t) can be generated using the values of ϕ₁ and ϕ₂ from the above equations. Alternatively, the demodulation signals D_(i)(t) can be generated from quadrature components as:

D _(i)(t)=b ₁₁ sin ωt+b ₁₂ cos ωt  (33)

D ₂(t)=b ₂₁ sin ωt+b ₂₂ cos ωt  (34)

where the coefficients b_(ij) are computed from ϕ₁ and ϕ₂.

In one embodiment, the demodulation functions are adapted from baseline coefficients, which are then improved through a calibration or initialization procedure to produce actual coefficients. The baseline coefficients are typically obtained from known properties of the system. The actual coefficients are usually relatively close in value to the baseline coefficients. This provides one way to assess the operational status of the system and to evaluate the calibration procedure. In one embodiment, if the actual coefficients are too different from the baseline parameters then it is assumed that the calibration procedure failed in some manner or that the equipment has failed in some manner, and appropriate measures can be taken (e.g., alert the operator, sound a warning, etc.)

To find the actual coefficients, the demodulation functions are initially given by:

D ₁(t)=α₁₁ sin ωt+α ₁₂ cos ωt  (35)

D ₂(t)=α₂₁ sin ωt+α ₂₂ cos ωt  (36)

Where the coefficients α_(ij) are the baseline coefficients determined from known or assumed properties of the signal S(t). For example, in one embodiment α_(ij)=δ_(ij). In one embodiment, where initial estimates are available for ϕ₁ and ϕ₂, then the values of α_(ij) can be computed as discussed above.

The crosstalk reduction obtained using demodulation functions based on the coefficients α_(ij) can often be improved by computing new coefficients α _(ij) and corresponding new demodulation functions D _(i)(t) where:

D ₁(t)=α ₁₁ sin ωt+α ₁₂ cos ωt  (37)

D ₂(t)=α ₂₁ sin ωt+α ₂₂ cos ωt  (38)

The process of finding the coefficients begins by measuring two data sets, x₁(t) and x₂(t), as follows:

x ₁(t)=S(t)|_(S) ₁ _(=A,S) ₂ ₌₀  (39)

x ₂(t)=S(t)|_(S) ₁ _(=0,S) ₂ _(=B)  (40)

-   -   The data sets x₁(t) and x₂(t) are used to enforce the following         constraint:

$\begin{matrix} {{\int\limits_{0}^{nT}{{x_{i}(t)}{{\overset{\_}{D}}_{i}(t)}d}} = 0} & (41) \end{matrix}$

where i=1, 2, n=1, 2, 3 . . . , and Tis a time period corresponding to one complete modulation cycle. From the above constraint and the definitions of the demodulation functions, it follows that:

$\begin{matrix} {{{{\overset{¯}{\alpha}}_{11}{\int\limits_{0}^{nT}{{x_{1}(t)}\sin \omega tdt}}} + {{\overset{¯}{\alpha}}_{12}{\int\limits_{0}^{nT}{{x_{1}(t)}\cos \; \omega \; {tdt}}}}} = 0} & (42) \\ {{{{\overset{¯}{\alpha}}_{21}{\int\limits_{0}^{nT}{{x_{2}(t)}\sin \; \omega \; {tdt}}}} + {{\overset{¯}{\alpha}}_{22}{\int\limits_{0}^{nT}{{x_{2}(t)}\cos \; \omega \; {tdt}}}}} = 0} & (43) \end{matrix}$

-   -   It is convenient to define

$\begin{matrix} {\gamma_{11} = {\int\limits_{0}^{nT}{{x_{1}(t)}\sin \; \omega \; {tdt}}}} & (44) \\ {\gamma_{12} = {\int\limits_{0}^{nT}{{x_{1}(t)}\cos \; \omega \; {tdt}}}} & (45) \\ {\gamma_{21} = {\int\limits_{0}^{nT}{{x_{2}(t)}\sin \; \omega \; {tdt}}}} & (46) \\ {\gamma_{22} = {\int\limits_{0}^{nT}{{x_{2}(t)}\cos \; \omega \; {tdt}}}} & (47) \end{matrix}$

and to define

$\begin{matrix} {\beta_{ij} = {\frac{\gamma_{ij}}{\left\lbrack {\sum\limits_{k}\gamma_{ik}^{2}} \right\rbrack^{1/2}}\mspace{14mu} {where}}} & (48) \\ {{{\sum\limits_{k}\beta_{ik}^{2}} = 1}{Then}} & (49) \\ {{{{\overset{¯}{\alpha}}_{11}\beta_{11}} + {{\overset{¯}{\alpha}}_{12}\beta_{12}}} = 0} & (50) \\ {{{{\overset{¯}{\alpha}}_{21}\beta_{21}} + {{\overset{¯}{\alpha}}_{22}\beta_{22}}} = 0} & (51) \end{matrix}$

In one embodiment, to reduce crosstalk, it is desired to find the coefficients α _(ij) closest (in the sense of minimizing some specified error, such as, for example, a least squared error) to the coefficients α_(ij) such that the above constraints are satisfied. One solution, obtained by minimizing the least squared error is:

$\begin{matrix} {{\overset{\_}{\alpha}}_{ij} = {\alpha_{ij} - {\left( {\sum\limits_{k}{\alpha_{ik}\beta_{ik}}} \right)\beta_{ij}}}} & (52) \end{matrix}$

The term in parentheses can be described as the baseline crosstalk.

One of ordinary skill in the art will recognize that optimization methods other than least squares can be used. The solution methods for configuration are, for simplicity, described above in terms of a two-channel system. Using the above teachings, the extension to multi-channel systems is straightforward.

In one embodiment, systems with more than two channels can be calibrated using data from multiple calibration data sets. The calibration data sets can use different combinations of sources and/or different activation patterns of sources to provide additional information for calibration. Thus for example, in one embodiment, calibration measurements are obtained by activating the sources one at a time (with the other sources off) and calibration measurements are also obtained by deactivating one source at a time (with the other sources on). Both sets of calibrations measurements can then be used (in whole or in part) to calculate demodulation information.

In one such procedure for a system with 8 sources, data sets x₁-x₁₆ are obtained using the following activation patterns as follows:

x₁ = LED  1  on  (others  off) x₂ = LED  2  on  (others  off) ⋮ x₈ = LED  8  on  (others  off) x₉ = LED  1  off  (others  on) x₁₀ = LED  2  off  (others  on) ⋮ x₁₆ = LED  8  off  (others  on)

-   -   Then using the functions:

$\varphi_{{2j},k} = {\sin \left( {{2\pi \; f_{j}\frac{k}{T}} + {HW}_{j}} \right)}$ $\varnothing_{{{2j} + 1},k} = {\cos \left( {{2\pi \; f_{j}\frac{k}{T}} + {HW}_{j}} \right)}$

-   -   where HW_(j) are hardware coefficients (such as, for example,         known delays in the system), and f_(j) are the modulation         frequencies, then the ζ matrix can be computed as

$\left. {{\varsigma_{i,j} = {\sum\limits_{k = 1}^{\# {points}}{x_{i,k}\varphi_{j,k}}}}{\varsigma = \underset{2 \cdot {order}}{\underset{}{\begin{bmatrix} \varsigma_{1,1} & \ldots & \ldots & \varsigma_{1,8} \\ \vdots & \; & \; & \vdots \\ \varsigma_{8,1} & \; & \; & \varsigma_{8,8} \\ \vdots & \; & \; & \vdots \\ \varsigma_{16,1} & \ldots & \ldots & \varsigma_{16,8} \end{bmatrix}}}}} \right\} {number}\mspace{14mu} {of}\mspace{14mu} {channels}$

-   -   Then, under the assumption that the number of channels is equal         to 2 time the order, to compute the demodulation coefficients         for channel j′ the A matrix can be computed as:

${\left. {\Lambda = \underset{2 \cdot {order}}{\underset{}{\begin{bmatrix} \varsigma_{1,1} & \ldots & \varsigma_{1,8} \\ \vdots & \; & \vdots \\ \varsigma_{8,1} & \ldots & \varsigma_{8,8} \\ \varsigma_{{8 + j^{\prime}},1} & \ldots & \varsigma_{{8 + j^{\prime}},8} \end{bmatrix}}}} \right\} 2\mspace{14mu} {order}} + 1$

-   -   The QR decomposition of A returns Q and R matrices where:         -   Q is (2×order+1)×(2×order+1)         -   R is (2×order+1)×(2×order)     -   Define

j=1 . . . 8=2×order

k=1 . . . 8=2×order

A _(j,k) =R _(j,k) b _(k) =Q _(j′,k) ←j'th row but only 2×order values

-   -   Then calculate {right arrow over (β)} where

$\beta_{2 \cdot {order}} = \frac{b_{2 \cdot {order}}}{A_{{2 \cdot {order}},{2 \cdot {order}}}}$

-   -   and for i=2·order−1, . . . , 1

$\beta_{i} = \frac{\left( {b_{i} - {\sum\limits_{j = {i + 1}}^{2 \cdot {order}}{A_{i,j}\beta_{j}}}} \right)}{A_{i,i}}$

-   -   After normalizing {right arrow over (β)} by

$\overset{\hat{}}{\beta} = \frac{\overset{\rightarrow}{\beta}}{\overset{\rightarrow}{\beta}}$

-   -   Then the new demodulation coefficient vectors are given by:

{circumflex over (α)}_(j)=({right arrow over (α)}_(j)·{circumflex over (β)}){circumflex over (β)}_(j)

-   -   where are the baseline and/or previous demodulation coefficient         vectors.         -   To test crosstalk for the j^(th) channel, compute

$\xi_{k} = {\sum\limits_{ = 1}^{2 \cdot {order}}{\varsigma_{k,}{\overset{\hat{}}{\alpha}}_{}}}$

-   -   -    (where {circumflex over (α)} corresponds to the j^(th)             channel)

    -   if k≤2·order then:

    -   when the j^(th) channel is on:

${crosstalk_{k \neq j}} = {20{\log \left( \frac{\xi_{k}}{\xi_{j}} \right)}}$

-   -   when the j^(th) is channel off

${crosstalk_{k \neq {j + {2 \cdot {order}}}}} = {20{\log \left( \frac{\xi_{k + {2 \cdot {order}}}}{\xi_{j + {2 \cdot {order}}}} \right)}}$

The example above uses 8 sources by way of example and not by way of limitation. One of ordinary skill in the art will further recognize that other combinations and activation patterns can be used as well. For example, in one embodiment calibration measurements are obtained using activation patterns sources (LEDs) when less than half of the sources are activated, and calibration measurements are obtained using combinations when more than half of the sources are activated. With N sources, up to 2^(N) different combinations of activation patterns are possible using the N sources. Thus, one of ordinary skill in the art will recognize that in various embodiments, the demodulation coefficients can be calculated using calibration data from many different activation patterns of activated and deactivated sources. Further, in the above example, the number of channels was equal to 2 times the order. One of ordinary skill in the art will recognize that the above analysis can also be used whenever number of channels is less than or equal to 2×order.

Although described above in connection with a particular embodiment of the present invention, it should be understood the description of the embodiment is illustrative of the invention and are not intended to be limiting. Although described above in connection with a pulse oximetry system wherein a parameter to be measured is the attenuation of red and infrared light passing through a portion of a subject's body, it should be understood that the method and apparatus described herein can also be used for other measurements where two or more signals are passed through a system to be analyzed. In particular, the present invention can be used to demodulate two combined parametric signals responsive to the system to be analyzed where the two parametric signals have a predetermined timing relationship between them, as described herein. The invention can be used in connection with various physiological parameter measurement systems, such as, for example, systems that measure blood constituents, blood oxygen carboxyhemoglobin, methemoglobin, glucose, etc. Various modifications and applications may occur to those skilled in the art without departing from the true spirit and scope of the invention as defined in the appended claims. 

1. An apparatus for measuring one or more blood constituents in a subject, said apparatus comprising: a first signal source which applies a first input signal during a first time interval; a second signal source which applies a second input signal during a second time interval; a third signal source which applies a second input signal during a third time interval; a detector which detects a first parametric signal responsive to said first input signal passing through a portion of said subject having blood therein, a second parametric signal responsive to said second input signal passing through said portion of said subject, and a third parametric signal responsive to said third input signal passing through a portion of said subject having blood therein, said detector generating a detector output signal responsive to said first, second, and third parametric signals; and a signal processor which receives said detector output signal, said signal processor configured to demodulate said detector output signal by applying a first demodulation signal to a signal responsive to said detector output signal to generate a first demodulator output signal, applying a second demodulation signal to said signal responsive to said detector output signal to generate a second demodulator output signal, and applying a third demodulation signal to said signal responsive to said detector output signal to generate a third demodulator output signal, said signal processor configured to select said first demodulation signal, said second demodulation signal and said third demodulation signal to reduce crosstalk between said first, second, and third demodulator signals using, at least in part, first and second calibration data, wherein said first calibration data comprises calibration data wherein said first signal source, said second signal source, and said third signal source are operated singly during a normal operation period, and wherein said first calibration data comprises calibration data wherein said first signal source, said second signal source, and said third signal source are not operated.
 2. An apparatus for measuring one or more parameters in a subject, said apparatus comprising: four or more sources; at least one detector configured to sense electromagnetic radiation produced by said three or more sources, an output of said at least one detector comprising a detector signal; and a signal processor which receives said detector output signal, said signal processor configured to demodulate said detector output signal by applying a first demodulation signal to a signal responsive to said detector output signal to generate a first demodulator output signal, applying a second demodulation signal to said signal responsive to said detector output signal to generate a second demodulator output signal, and applying a second demodulation signal to said signal responsive to said detector output signal to generate a third demodulator output signal, said signal processor configured to select said first demodulation signal, said second demodulation signal and said third demodulation signal to reduce crosstalk between said first, second, and third demodulator signals using, at least in part, calibration data, wherein said calibration data is obtained, at least in part, by activating said four or more sources according to a set of activation patterns, wherein the number of activation patterns is greater than the number of sources in said four or more sources.
 3. The apparatus of claim 2, wherein said activation patterns comprise a first set of patterns wherein each of said four or more sources is activated singly, and a second set of patterns wherein each of said four or more sources is deactivated singly.
 4. The apparatus of claim 2, wherein said activation patterns comprise patterns wherein each of said four or more sources is activated one at a time.
 5. The apparatus of claim 2, wherein said activation patterns comprise patterns wherein each of said four or more sources is de-activated one at a time.
 6. An apparatus for measuring one or more blood constituents in a subject, said apparatus comprising: a first signal source which applies a first input signal during a first time interval; a second signal source which applies a second input signal during a second time interval; a third signal source which applies a third input signal during a third time interval; a detector which detects a first parametric signal responsive to said first input signal passing through a portion of said subject having blood therein and which detects a second parametric signal responsive to said second input signal passing through said portion of said subject, and a third parametric signal responsive to said third input signal, said detector generating a detector output signal responsive to said first, second, and third parametric signals; and a signal processor which receives said detector output signal, said signal processor demodulating said detector output signal by applying a first demodulation signal to a signal responsive to said detector output signal to generate a first demodulator output signal and applying a second demodulation signal to said signal responsive to said detector output signal to generate a second demodulator output signal, said first demodulation signal determined at least in part from a first dataset wherein each of said first, second, and third sources are activated one at a time and a second dataset wherein each of said first, second, and third sources are deactivated one at a time.
 7. The apparatus of claim 6, wherein at least a portion of said first dataset comprises turning on only one of said first, second, or third signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signals.
 8. The apparatus of claim 6, wherein at least a portion of said first dataset comprises turning off only one of said first, second, or third signal sources and measuring the crosstalk between one of the parametric signals and the non-corresponding output signals.
 9. The apparatus of claim 6, wherein at least a portion of said first dataset comprises a set of activation patterns wherein less than half of said signal sources are active in each pattern.
 10. The apparatus of claim 6, wherein at least a portion of said first dataset comprises a set of activation patterns wherein more than half of said signal sources are active in each pattern.
 11. The apparatus of claim 6, further comprising a fourth source and wherein at least a portion of said first dataset comprises a set of unique activation patterns wherein a plurality of said sources are active and a plurality of said sources are not active in each pattern.
 12. The apparatus of claim 6, further comprising a fourth source and a fifth source and wherein at least a portion of said first dataset is obtained using a set of activation patterns wherein a plurality of said sources are active and a plurality of said sources are not active in each pattern and where each activation pattern is different. 